package com.sciencep.pro.core.domain.vo.workdailylog;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDate;

@Data
@Accessors(chain = true)
public class WorkDailyLogVo implements Serializable {

    @ApiModelProperty("打卡日期开始日期，格式：yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private LocalDate beginDate;

    @ApiModelProperty("打卡日期结束日期，格式：yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private LocalDate endDate;

    @ApiModelProperty("打卡日期，格式：yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private LocalDate workDate;

    @ApiModelProperty("部门id")
    private String deptId;

    private String deptName;

    @ApiModelProperty("是否删除")
    private String isDel;

    @ApiModelProperty("在职状态")
    private String isResign;

    @ApiModelProperty("员工姓名")
    private String userName;

    @ApiModelProperty("员工ID")
    private String userId;

    @ApiModelProperty("项目编号")
    private String proNo;

    @ApiModelProperty("是否是系统内的人员 1 是")
    private String type;

    private Integer less;

}
